<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>test7</title>
</head>
<body>
	1<br>
<div class="test1"></div>
	2<br>
<div id="test1"></div>
</body>

<!-- jQuery -->
<script src="plugins/jquery/jquery.min.js"></script>

<script>
	
  $(function() {
  	$(".test1").append("abc1");//class
  	$("#test1").append("abc2");//id
  });


  $(document).ready(function () {
  	console.log("ready")
  });
</script>
</html>